#include "dice.h"
#include <stdio.h>


dice::dice(int v)
{
	value = v;	
}


int dice::getValue(){
	return value;
}
void dice::setValue(int v){
	value = v;
}

void dice::print(){
	switch (dice::getValue()){

	case 1:  


		cout << "-----------" << endl;
		cout << "!         !" << endl;
		cout << "!    X    !" << endl;
		cout << "!         !" << endl;
	    cout << "-----------" << endl;
		break;
	case 2: 
		cout << "-----------" << endl;
		cout << "! X       !" << endl;
		cout << "!         !" << endl;
		cout << "!       X !" << endl;
		cout << "-----------" << endl;
		break;
	case 3:
		cout << "-----------" << endl;
		cout << "!       X !" << endl;
		cout << "!    X    !" << endl;
		cout << "! X       !" << endl;
		cout << "-----------" << endl;
		break;

	case 4:
		cout << "-----------" << endl;
		cout << "! X     X !" << endl;
		cout << "!         !" << endl;
		cout << "! X     X !" << endl;
		cout << "-----------" << endl;
		break;
	case 5:
		cout << "-----------" << endl;
		cout << "! X     X !" << endl;
		cout << "!    X    !" << endl;
		cout << "! X     X !" << endl;
		cout << "-----------" << endl;
		break;
	case 6:
		cout << "-----------" << endl;
		cout << "! X     X !" << endl;
		cout << "! X     X !" << endl;
		cout << "! X     X !" << endl;
		cout << "-----------" << endl;
		break;

	default: 
		cout << "-----------" << endl;
		cout << "! X  X  X !" << endl;
		cout << "! X  X  X !" << endl;
		cout << "! X  X  X !" << endl;
		cout << "-----------" << endl;
		break;



	}
}
dice::~dice()
{
}
